home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
User's Choice Windows CD
/
User's Choice Windows CD (CMS Software)(1993).iso
/
windows4
/
prndrv.zip
/
MAINWND.H
< prev
next >
Wrap
Text File
|
1992-02-20
|
896b
|
26 lines
// MAINWND.H
// Copyright (c) 1992 Microsoft Corporation. All rights reserved.
// global variables
short nCurrentDevice;
HANDLE hDriver;
int ixClient, iyClient, n, cxChar, cyChar, nCurrentInfo;
char szAllDevices[4096], szDevice[32], szDriver[32], szDriverFile[16];
char *szOutput, *szPtr ;
// Function prototypes for external type checking.
long FAR PASCAL MainWndProc(HWND hWnd, unsigned message, WORD wParam, LONG lParam);
long DoCommands (HWND hWnd, unsigned message, WORD wParam, LONG lParam);
BOOL DumpDriverInfo(HDC hDC);
BOOL DumpDevmodeInfo(HWND hWnd, HDC hDC);
BOOL DumpPaperInfo(HDC hDC);
BOOL DumpBinInfo(HDC hDC);
void DisplayTextHeader(HDC hDC, int ixPos, int iyPos, LPSTR lpstrHText);
BOOL IsBadDRV(LPSTR lpstrDRVName);
unsigned int GetFileDateTime (int hFile, unsigned int* uTime, unsigned int* uDate);